package com.pro.pojo;

import java.util.Date;
import java.util.Objects;

/**
 * @Author 谭金诚
 * @Description TODO
 * @Date 2022/1/25 17:53
 * @Version 1.0
 */
public class JsMicrocirclePlus extends JsMicrocircle {

    private Integer microcircleNums;//微圈数量

    public JsMicrocirclePlus(){

    }
    public JsMicrocirclePlus(Integer microcircleNums) {
        this.microcircleNums = microcircleNums;
    }

    public JsMicrocirclePlus(Integer microcircleId, Integer userId, String trueName, String acatarUrl, String account, String artcleTitle, String artcleKeywords, String artcleUrl, Date createDate, Date releaseDate, Date collectionDate, Integer acticleCategroyId, String artcleCategroyName, Integer acticleHits, Integer acticleLike, Integer acticleReviews, Integer acticleShare, Integer collectionNum, Integer show, Integer serialNumber, String article, String updateId, Date updateDate, Integer details, Integer commodityId, String result, Integer type, Integer toExamineId, Integer microcircleNums) {
        super(microcircleId, userId, trueName, acatarUrl, account, artcleTitle, artcleKeywords, artcleUrl, createDate, releaseDate, collectionDate, acticleCategroyId, artcleCategroyName, acticleHits, acticleLike, acticleReviews, acticleShare, collectionNum, show, serialNumber, article, updateId, updateDate, details, commodityId, result, type, toExamineId);
        this.microcircleNums = microcircleNums;
    }

    public Integer getMicrocircleNums() {
        return microcircleNums;
    }

    public void setMicrocircleNums(Integer microcircleNums) {
        this.microcircleNums = microcircleNums;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        JsMicrocirclePlus that = (JsMicrocirclePlus) o;
        return Objects.equals(microcircleNums, that.microcircleNums);
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), microcircleNums);
    }

    @Override
    public String toString() {
        return "JsMicrocirclePlus{" +
                "microcircleNums=" + microcircleNums +
                '}';
    }
}
